<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/laydate.php';
        include_once 'public/home/html/alert.php';
		?>
		<link rel="stylesheet" href="public/css/list.css" />
		<link rel="stylesheet" href="public/xr/xrDatatable.css" />
		<script src="public/xr/xrDatatable.js"></script>	
        <script src="public/home/js/function.js"></script>
		<script src="public/js/list.js"></script>
		<script src="cust/js/statisticsAttendDeptList.js"></script>
	</head>
	<body>
		<input type="hidden" id='url' value="<?php echo base_url()?>">
		<div class="page-container container">
			<div class="searchForm">
			    <div class="searchForm-title"><i class="icon-table searchForm-title-icon"></i>数据表格<i class="icon-double-angle-up searchFormTitleIcon"></i></div>
			    <div class="searchForm-main">
					<form id="searchForm">
						<input type="text" name='start_time' id="start_time" placeholder="请选择起始时间"/>
						<input type="text" name='end_time' id="end_time" placeholder="请选择终止时间"/>                       	
					</form>
				</div>
			</div>
			<div class="operationRow">
 				<button class="pageItemButton" onclick="Export()"><i class="icon-edit"></i>导出</button>
			</div>
			        
			<div class="listcontent">
				<div class='xrTableRow'>
					<table id="table" class="xrTable">
						<thead>
							<tr>
								<th name="_xrno"></th>
								<!-- <th name="_oper" style="width: 120px;">操作</th> -->
                                <th name="_dept_name" > 学院 </th>
                                <th name="_attend_num" > 听课人数 </th>
                                <th name="_attend_count" > 听课人次 </th>
                                <th name="_avg" > 平均分 </th>
                                <th name="_abovenine" > 90分(含)以上 </th>
                                <th name="_aboveeight" > 80以下 </th>
                                <th name="_max" > 最高分 </th>
                                <th name="_min" > 最低分 </th>
                                
							</tr>
						</thead>
					</table>
				</div>
			</div>
		</div>
	</body>
	<script>
		$("body").keydown(function() {
             if (event.keyCode == "13") {//keyCode=13是回车键
                 $('.searchButton').click();
             }
         });
		$("#title").change(function(){
			$('.searchButton').click();
		});
		$("#class_name").change(function(){
			$('.searchButton').click();
		});
	</script>
</html>